<div>
    <el-form    label-width="100%">
        <el-form-item label="">
        </el-form-item>
    </el-form>
    <el-form :inline="true" ref="form" :model="sizeForm" label-width="80px"  :rules="rules" prop="description">
        <el-row>
            <el-form-item label="描述" prop="description">
                <el-input v-model="sizeForm.description"></el-input>
            </el-form-item>
            <el-form-item label="日期" prop="messageDate">
                    <el-date-picker type="date" placeholder="选择日期"
                                    v-model="sizeForm.messageDate"
                                    format="yyyy-MM-dd"
                                    @change="pickDate"
                    ></el-date-picker>
            </el-form-item>
        </el-row>
        <el-row>
            <el-form-item label="状态" prop="status">
                <el-radio-group v-model="sizeForm.status">
                    <el-radio label="已确认">已确认</el-radio>
                    <el-radio label="取消">取消</el-radio>
                    <el-radio label="申请中">申请中</el-radio>
                </el-radio-group>
            </el-form-item>
            <el-form-tiem>
                <el-button v-if="parentData&&parentData.edit" @click="submitData">修改信息</el-button>
            </el-form-tiem>
        </el-row>
        <el-row>
            <el-form-item label=" " prop="fileList">
                <el-upload
                        class="upload-demo"
                        ref="upload"
                        action="/dam/api/flyRequest/upload"
                         show-file-list=false
                         multiple=false
                        :on-change="handleChange"
                        :on-preview="handlePreview"
                        :on-remove="handleRemove"
                        :file-list="sizeForm.fileList"
                        :auto-upload="false"
                        :on-success="uploadedSuccess"
                        :data="sizeForm"
                >
                    <el-button slot="trigger"  type="primary">选取执飞申请文件</el-button>
                    <el-button type="primary"  @click="submitUpload">上传执飞文件</el-button>
                </el-upload>
            </el-form-item>
           </el-row>
    </el-form>
    <el-form :inline="true" ref="bakForm" :model="sizeForm" label-width="80px"  :rules="rules" prop="description">
    <el-row>
        <el-form-item>
            <el-form-item label=" " prop="bakFileList">
                <el-upload
                        class="upload-demo"
                        ref="uploadBak"
                        action="/dam/api/flyRequest/upload"
                        show-file-list=false
                        multiple=false
                        :on-change="handleBakChange"
                        :on-preview="handlePreview"
                        :on-remove="handleRemove"
                        :file-list="sizeForm.bakFileList"
                        :auto-upload="false"
                        :on-success="uploaded"
                        :data="sizeForm"
                >
                    <el-button slot="trigger"  type="primary">选取执飞回执文件</el-button>
                    <el-button type="primary"  @click="submitBakUpload">上传执飞回执文件</el-button>
                </el-upload>
            </el-form-item>
        </el-form-item>
    </el-row>
    </el-form>
</div>